import java.util.Scanner;

public class Character {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        System.out.println("请输入");
        String line = s.nextLine();
        char single = line.charAt(0);

        if ((single >= 'a' && single <= 'z') || (single >= 'A' && single <= 'z')) {
            if (single >= 'a' && single <= 'z') {

                char single2 = (char) (int) (single - 32);
                System.out.println("你输入的是" + single + "对应的大写英文字母是" + single2);

            } else {

                System.out.println("你输入的是大写英文字母" + single);

            }
        } else {
            System.out.println("你输入的是不是英文字母");
        }

        s.close();

    }

}